package com.robcity.platform.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 分页查询
 *
 * @author chentianyan
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParam implements Serializable {

    private static final long serialVersionUID = 8352659840283346559L;

    @Schema(description = "页码", example = "1")
    public int current = 1;

    @Schema(description = "行数", example = "20")
    public int pageSize = 20;

}
